<?php
class CubeModule extends CWebModule {
	public $db;
	public function init() {
		$this->setImport(array(
			'cube.models.*',
			'cube.components.*',
		));
	}
	public function beforeControllerAction($controller, $action) {
		if(parent::beforeControllerAction($controller, $action))	{
			return true;
		}
		else
		return false;
	}
}
